public class AlienLocator
{
  public ArrayList Coordinates;
  
  public AlienLocator()
  {
    Coordinates = new ArrayList();
    
    //          0	1	2	3	4	5	6	7	8	9	0	1	2	3	4	5	6	7	8	9	0
    //
    // 0		0	0	0		1				1			0	0			1				1
    // 1	0					1	1			1		0			0		1	1		1	1
    // 2	0					1		1		1		0	0	0	0		1		1		1
    // 3	0					1			1	1		0			0		1				1
    // 4		0	0	0		1				1		0			0		1				1

    AddPoint(1,0,0);
    AddPoint(2,0,0);
    AddPoint(3,0,0);
    AddPoint(0,1,0);
    AddPoint(0,2,0);
    AddPoint(0,3,0);
    AddPoint(1,4,0);
    AddPoint(2,4,0);
    AddPoint(3,4,0);
    AddPoint(5,0,1);
    AddPoint(5,1,1);
    AddPoint(5,2,1);
    AddPoint(5,3,1);
    AddPoint(5,4,1);
    AddPoint(6,1,1);
    AddPoint(7,2,1);
    AddPoint(8,3,1);
    AddPoint(9,0,1);
    AddPoint(9,1,1);
    AddPoint(9,2,1);
    AddPoint(9,3,1);
    AddPoint(9,4,1);
    AddPoint(11,1,0);
    AddPoint(11,2,0);
    AddPoint(11,3,0);
    AddPoint(11,4,0);
    AddPoint(12,0,0);
    AddPoint(13,0,0);
    AddPoint(12,2,0);
    AddPoint(13,2,0);
    AddPoint(14,1,0);
    AddPoint(14,2,0);
    AddPoint(14,3,0);
    AddPoint(14,4,0);
    AddPoint(16,0,1);
    AddPoint(16,1,1);
    AddPoint(16,2,1);
    AddPoint(16,3,1);
    AddPoint(16,4,1);
    AddPoint(17,1,1);
    AddPoint(18,2,1);
    AddPoint(19,1,1);
    AddPoint(20,0,1);
    AddPoint(20,1,1);
    AddPoint(20,2,1);
    AddPoint(20,3,1);
    AddPoint(20,4,1);
  }
  
  private void AddPoint(int x, int y, int type)
  {
    Coordinates.add(new Position(x, y, type));
  }
}

public class Position
{
  public int X;
  
  public int Y;
  
  public int Type;
  
  public Position(int x, int y, int type)
  {
    X = x;
    Y = y;
    Type = type;
  }
}

